package com.hk.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hk.model.pojo.Activity;
import com.hk.model.vo.ActivityVo;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import org.springframework.web.bind.annotation.RequestParam;

public interface ActivityService extends IService<Activity> {

    @ApiOperation(value = "获取活动列表")
    ActivityVo getActivityList(Integer pageNum, Integer pageSize,
                               Integer code
            , Data beginCreateTime, Data endCreateTime,
                               Data beginTime, Data endTime);

    @ApiOperation(value = "添加活动")
    void addActivity(Activity activity);
@ApiOperation(value = "删除活动")
    void deleteById(Integer id);
@ApiOperation(value = "获取活动id")
    Activity getId(Integer id);
@ApiOperation(value = "修改活动信息")
    void updateActivity(Activity activity);
}
